package com.qhm123.spark.restlet;

import org.restlet.Component;
import org.restlet.data.Protocol;

public class Main {

	public static void main(String[] args) throws Exception {

		Component component = new Component();
		component.getServers().add(Protocol.HTTP, 8082);
		component.getClients().add(Protocol.CLAP);
		component.getDefaultHost().attach("/booooo", new BoooooApplication());
		component.start();
	}
}
